9ebf0acbb15084b71f66219c709eda0583ba8eb7,src/com/mraof/minestuck/entity/underling/EntityUnderling.java,EntityUnderling,onDeathUpdate,#,129

Before Change


			for(GristAmount gristType : grist.getArray())
				this.worldObj.spawnEntityInWorld(new EntityGrist(worldObj, this.posX + this.rand.nextDouble() * this.width - this.width / 2, this.posY, this.posZ + this.rand.nextDouble() * this.width - this.width / 2, gristType));
			if(this.rand.nextInt(4) == 0)
				this.worldObj.spawnEntityInWorld(new EntityVitalityGel(worldObj, this.posX + this.rand.nextDouble() * this.width - this.width / 2, this.posY, this.posZ + this.rand.nextDouble() * this.width - this.width / 2, this.getVitalityGel()));
		}
	}
	@Override

After Change


			if(fromSpawner)
				grist.scaleGrist(0.5F);
			
			if(!dropCandy)
			{
				for(GristAmount gristType : grist.getArray())
					this.worldObj.spawnEntityInWorld(new EntityGrist(worldObj, randX(), this.posY, randZ(), gristType));
			} else
			{
				for(GristAmount gristType : grist.getArray())
				{
					int candy = (gristType.getAmount() + 2)/4;
					int gristAmount = gristType.getAmount() - candy*2;
					if(candy > 0)
						this.worldObj.spawnEntityInWorld(new EntityItem(worldObj, randX(), this.posY, randZ(), new ItemStack(MinestuckItems.candy, candy, gristType.getType().ordinal() + 1)));
					if(gristAmount > 0)
						this.worldObj.spawnEntityInWorld(new EntityGrist(worldObj, randX(), this.posY, randZ(),new GristAmount(gristType.getType(), gristAmount)));
				}